<?php
require_once("page.php");

$eng->Info = TRUE;

//------------------------------------------------------------
// Set some values into the template engine
//------------------------------------------------------------
$eng->assign("PageTitle", "RadTemplate");
$eng->assign("PageSubTitle", "Example 7 - Iteration using ForArray");
$eng->assign("Login", rand(1, 8));

//------------------------------------------------------------
// Declare the Top Five Reasone Array
//------------------------------------------------------------
$arrTopFive = array(
	array("Fast", array("Fast 1", "Fast 2")),
	array("Flexible", array("Flexible 1", "Flexible 2")),
	array("Extensible", array("Exetnsible 1", "Extensible 2")),
	array("Powerful", array("Powerful 1", "Powerful 2")),
	array("Free", array("Free 1", "Free 2")));

$eng->assign("ListMessage", "Top Five Reasons to use RadTemplate (ForArray)");


//------------------------------------------------------------
// Put Array into values Collection
//------------------------------------------------------------
$eng->assign("TopFive", $arrTopFive);


//------------------------------------------------------------
// Load the template and Generate Ouput
//------------------------------------------------------------
$eng->show("tpl/test08.html");
?>